<ion-view view-title="{{detail.productName}}" hide-back-button="true">
    <ion-nav-bar class="bar-positive nav-bar-container">
        <ion-nav-buttons side="left">
            <button class="button button-clear" ng-click="backtorefund()" nav-direction="back">
                <i class="icon ion-chevron-left" ></i> 返回
            </button>
        </ion-nav-buttons>
    </ion-nav-bar>
  <ion-content class="content has-header ionic-pseudo">
    <div class="itemc row">
    <div class="col-25 tc">产品名称</div>
    <div class="col-75">{{detail.productName}}</div>
    </div>
    <div class="itemc row">
    <div class="col-25 tc">购买金额</div>
    <div class="col-75">{{detail.tradeAmount}}</div>
    </div>
    <div class="itemc row">
    <div class="col-25 tc">回款金额</div>
    <div class="col-75">{{detail.balance}}</div>
    </div>
    <div class="itemc row">
    <div class="col-25 tc">收益</div>
    <div class="col-75">{{detail.income}}</div>
    </div>
    <div class="itemc row">
    <div class="col-25 tc">状态</div>
    <div class="col-75">
        <a ng-if="detail.state==0">未回款</a>
        <a ng-if="detail.state==1">已回款</a>
        <a ng-if="detail.state==2">回款中</a>
    </div>
    </div>
    <div class="itemc row">
    <div class="col-25 tc">购买时间</div>
    <div class="col-75">{{detail.tradeCreateTime| date: 'yyyy-MM-dd HH:mm:ss'}}</div>
    </div>
    <div class="itemc row">
    <div class="col-25 tc">第几期</div>
    <div class="col-75">{{detail.serial}}</div>
    </div>
    <div class="itemc row">
    <div class="col-25 tc">回款时间</div>
    <div class="col-75">{{detail.refundTime}}</div>
    </div>
    <div class="itemc row">
    <div class="col-25 tc">银行卡</div>
    <div class="col-75"><a ng-if="detail.bankName">{{detail.bankName}}--尾号{{detail.cardNumber | limitTo:-4}}</a></div>
    </div>
    <!--<div class="itemc row">
    <div class="col-25 tc">交易类型</div>
    <div class="col-75">{{detail.detailType}}</div>
    </div> 
    <div class="itemc row">
    <div class="col-25 tc">虚拟总额</div>
    <div class="col-75">{{detail.virtualAmount}}</div>
    </div> -->
  </ion-content>
</ion-view>